package server.io.client;

import java.nio.channels.SocketChannel;
import java.util.HashMap;

import server.io.game.fact.hall.Hall_Base;
import server.io.game.fact.player.Player_Base;
import server.io.game.fact.room.Room_Base;
import server.io.game.fact.user.User_Base;

public class ClientInfo
{
	public SocketChannel channel;
	public int clientId;
	public HashMap<String, Object> map = new HashMap<String, Object>();
	public Hall_Base hall;
	public Room_Base room;
	public Player_Base player;
	
	/**
	 * 取出map里的key的value
	 * @param key
	 * @return
	 */
	public Object mapGet(String key)
	{
		return this.map.get(key);
	}
	

}